package com.example.springbook.adapt;

public class Slf4jLogBackAdapt implements Slf4jApi{
    private LogBack logBack;

    public Slf4jLogBackAdapt(LogBack logBack) {
        this.logBack = logBack;
    }

    @Override
    public void log(String message) {
        logBack.info("Slf4jLogBackAdapt打印日志:"+message);
    }
}
